package com.bigdatastudio.auth.server;

import com.baomidou.mybatisplus.extension.service.IService;
import com.bigdatastudio.common.Utils.R;
import com.bigdatastudio.common.entity.User;

import javax.servlet.http.HttpServletRequest;

/**
 * <p>
 *  服务类
 * </p>
 *
 * @author xiao_jie
 * @since 2022-09-12
 */
public interface IAuthService extends IService<User> {

    R userLogin(User user, HttpServletRequest request);

    R userLogOut(String token);

}
